package org.linlinjava.litemall.db.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.linlinjava.litemall.db.models.SearchHistory;

import java.util.List;

public interface SearchHistoryService extends IService<SearchHistory> {

    public List<SearchHistory> queryByUid(Long uid);

    public void deleteByUid(Long uid);

    public IPage<SearchHistory> querySelective(String userId, String keyword, Integer pageNo, Integer pageSize);
}
